<app:aside-block class='aside-block-highlighted' heading='Deposit' visibility-model='Room.asidePanels.view'>
<div ng:controller='Top.Game.Room.DepositProperties as DepositProperties'>
<div class='object-properties-id'>
ID: {{Room.selectedObject._id}}
</div>
<div>
<label>Position:</label>
{{Room.selectedObject.x}}, {{Room.selectedObject.y}}
</div>
<div>
<label>Deposit:</label>
<img class='resource-type' ng-src='https://s3.amazonaws.com/static.screeps.com/upload/mineral-icons/{{Room.selectedObject.depositType}}.png' uib-tooltip='{{Room.resourceTypeNames[Room.selectedObject.depositType]}}'>
&nbsp;{{ Room.resourceTypeNames[Room.selectedObject.depositType] }}
</div>
<div ng:if='Room.gameTime &amp;&amp; Room.selectedObject.decayTime &gt;= Room.gameTime'>
<label>Decay in:</label>
{{Room.selectedObject.decayTime - Room.gameTime}}
</div>
<div ng:if='Room.gameTime &amp;&amp; Room.selectedObject.cooldownTime &gt; Room.gameTime'>
<label>Cooldown:</label>
{{Room.selectedObject.cooldownTime - Room.gameTime}}
</div>
<div ng:if='Room.selectedObject.harvested &gt; 0'>
<label>Last cooldown:</label>
{{DepositProperties.getLastCooldown()}}
</div>
<ng-include src="'room-object-effects'"></ng-include>
</div>
</app:aside-block>
